<template>
	<view class="is_empty">
		<view class="warp">
			<image :src="src" >		 
			<text class="msg"><slot></slot></text>
		</view>
	</view>
</template>

<script>
	export default {
		name: "empty2",
		data() {
			return {
				src: ''
			}
		},
	}
</script>


<style lang="scss" scoped>		
	
	.is_empty{
		display: flex;
		align-items: center;
		justify-content: center;
		color: gray;
		position: absolute;
		height: 100%;
		width: 100%;
		.warp{
			image{
				display: block;
				width: 200rpx;
				height: 160rpx;
				margin-bottom: 20rpx;
			}
			.msg{
				color: #bfbfbf;
			}
		}
		
		 
	}
</style>